//
//  WCNHomePatientView.m
//  WCN
//
//  Created by wsj2015 on 16/3/30.
//  Copyright © 2016年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCNHomePatientView.h"

@implementation WCNHomePatientView

- (void)drawRect:(CGRect)rect{
    CGFloat myH =self.bounds.size.height;
    CGFloat myW= self.bounds.size.width;
    
    UIBezierPath *path = [[UIBezierPath alloc] init];
    CGPoint start  =CGPointMake(0, myH/2);
    [path moveToPoint:start];
    [path addLineToPoint:CGPointMake(myW, myH/2)];
    
    
    
    start = CGPointMake(0, myH);
    [path moveToPoint:start];
    [path addLineToPoint:CGPointMake(myW, myH)];
    
    
    start = CGPointMake(myW/2, myH/2+4);
    [path moveToPoint:start];
    [path addLineToPoint:CGPointMake(myW/2, myH-4)];
    path.lineWidth = kOnePX;
    [kBorderColor setStroke];
    
    [path stroke];


}

@end
